package foxesandrabbits.species;

import foxesandrabbits.field.Field;
import foxesandrabbits.field.Location;

/**
 * A simple model of a snail.
 * Snails age, move, eat vegetables, breed and die.
 * @author Baptiste Viale
 */

public class Snail extends Killer implements Vegetarian {

	private static int SNAIL_FOOD_VALUE=15;
	private static double SNAIL_BREEDING_PROBABILITY = 0.03;
	
	public Snail(boolean randomAge, Field field, Location location) {
		super(randomAge, field, location, SNAIL_FOOD_VALUE,SNAIL_BREEDING_PROBABILITY);
		
    	

    	preys = new Class[] { Letuce.class, Carrot.class };
	}

}
